export default {
  onPageLoad(query) {
    //console.log('---------> LifeCycle onPageLoad', query)
     wx.setNavigationBarTitle({
      title: query.title
    }); 
    $page.state.title = query.title;
    $page.state.type = query.type;
  },
  onPageShow() {
    //console.log('---------> LifeCycle onPageShow')
  },
  onPageReady() {
    //console.log('---------> LifeCycle onPageReady')
  },
  onPageHide() {
    //console.log('---------> LifeCycle onPageHide')
  },
  onPageUnload() {
    //console.log('---------> LifeCycle onPageUnload')
  },
}